package edu.zut.bailan.student.service;


import edu.zut.bailan.base.service.GenericManager;
import edu.zut.bailan.student.domain.Student;

import java.util.List;

public interface StudentManager extends GenericManager<Student, Long> {

    /**

     * @param name
     * @return
     */
    List<Student> findByName(String name);

    /**
     * get student according to postcode
     *
     * @param postcode
     * @return
     */
    List<Student> findByPostcode(String postcode);
}